package org.aaa.exp02;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Richard Wang
 * @date 2025/7/1 22:11
 */
@Slf4j(topic = "c.Test2")
public class Test2 {
    public static void main(String[] args) {
/*        Runnable r = new Runnable() {
            @Override
            public void run() {
                log.debug("running");
            }
        };*/

        Runnable r = () -> log.debug("running");

        Thread t = new Thread(r, "t2");
        t.start();
    }
}
